package top.kangyaocoding.ecommerce.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
import top.kangyaocoding.ecommerce.po.UvDaily;

import java.util.List;

/**
 * 描述:
 *
 * @author K·Herbert
 * @since 2025-02-16 下午3:58
 */
@Mapper
public interface IUvDailyDao {
    @Select("SELECT * FROM uv_daily")
    @Results({
            @Result(property = "uvCount", column = "uv_count")
    })
    List<UvDaily> findAll();
}
